/*
 * @Description: 我的
 * @Author: iamsmiling
 * @Date: 2021-05-25 08:52:14
 * @LastEditTime: 2021-06-13 11:26:56
 */
import 'package:credit_business_circle/R/R.dart';
import 'package:credit_business_circle/domain/local/king_kong_entity.dart';
import 'package:credit_business_circle/domain/local/list_tile_entity.dart';
import 'package:credit_business_circle/routes/app_routes.dart';
import 'package:get/get.dart';

class MineController extends GetxController {
  List<KingKongEntity> utils = [
    KingKongEntity(
        icon: R.image.mall,
        label: "邀请好友",
        description: "提高合作效率",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.invite)),
    KingKongEntity(
      icon: R.image.smile,
      label: "道具商城",
      description: "分享给好友吧",
      onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.propkit),
    ),
    KingKongEntity(
        icon: R.image.gift,
        label: "福利中心",
        description: "签到领福利",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.clock))
  ];

  List<KingKongEntity> kongos = [
    KingKongEntity(
        icon: R.image.publishCenter,
        label: "发布管理",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.myPublish)),
    KingKongEntity(
        icon: R.image.browseHistory,
        label: "浏览记录",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.myFootprint)),
    KingKongEntity(
        icon: R.image.collection,
        label: "我的收藏",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.myCollection)),
    KingKongEntity(
        icon: R.image.contracts,
        label: "联系信息",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.myContacts)),
  ];

  List<ListTileEntity> tiles = [
    ListTileEntity(
        icon: R.image.wallet,
        label: "钱包账户",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.wallet)),
    ListTileEntity(
        icon: R.image.identification,
        label: "身份认证",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.auth)),
    ListTileEntity(
        icon: R.image.feedback,
        label: "问题反馈",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.discoloration)),
    ListTileEntity(icon: R.image.customerService, label: "联系客服"),
    ListTileEntity(
        icon: R.image.partner,
        label: "合伙人",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.starPartner)),
    ListTileEntity(
        icon: R.image.settings,
        label: "设置",
        onTap: () => Get.toNamed(AppRoutes.mine + AppRoutes.setting)),
  ];
}
